package com.earnings.okhttputils.utils.ui.dialog;

import android.app.Dialog;
import android.content.Context;
import android.support.annotation.NonNull;
import android.view.View;
import android.view.Window;

import com.earnings.R;

/**
 * 补贴说明
 * Created by Administrator on 2017/5/8 0008.
 */

public class DetailDialog extends Dialog implements View.OnClickListener {


    public DetailDialog(@NonNull Context context) {
        super(context);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.dialog_detail);
        findViewById(R.id.ok_view).setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        dismiss();
    }
}
